projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41a6780
)
CellRendererPixbuf: Set the window on the icon helper
author
Alexander Larsson
<alexl@redhat.com>
Wed, 26 Jun 2013 09:28:33 +0000
(11:28 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Wed, 3 Jul 2013 12:39:26 +0000
(14:39 +0200)
This lets us get scaled icons if needed.
gtk/gtkcellrendererpixbuf.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcellrendererpixbuf.c
b/gtk/gtkcellrendererpixbuf.c
index dc25648d3f28b42cab4e3ab5b0cc0a057a10b46d..19795b8143b2988739e135ee6d262bf19c3a2006 100644
(file)
--- a/
gtk/gtkcellrendererpixbuf.c
+++ b/
gtk/gtkcellrendererpixbuf.c
@@
-552,6
+552,8
@@
gtk_cell_renderer_pixbuf_render (GtkCellRenderer *cell,
if (icon_helper == NULL)
icon_helper = g_object_ref (priv->icon_helper);
+ _gtk_icon_helper_set_window (icon_helper,
+ gtk_widget_get_window (widget));
_gtk_icon_helper_draw (icon_helper,
context, cr,
pix_rect.x, pix_rect.y);